package org.example.friend.service;


import org.example.friend.entity.Friend_R;
import org.example.friend.entity.friend;

import java.util.List;
import java.util.Map;

public interface FriendService {
    List<friend> getFriendList(String Email);

    void deleteFriend(String email,String friendEmail);
    void addFriend(String email,String friendEmail);
    friend findUserByEmail(String email,String userEmail);
    friend findFriendByEmail(String email,String userEmail);
    List<Friend_R> getMyFriendRequest(String UserEmail);
    List<Friend_R> getMyFriendResponse(String UserEmail);
    void addFriendRequest(Friend_R friend_r);
    void deleteFriendRequest(Map map);
}
